class OrderBroadcastJob < ActiveJob::Base
  queue_as :default

  def perform(store_id)
    ActionCable.server.broadcast "order_channel_#{store_id}", {message: "您有新的订单!"}
  end
end
